using namespace std;
#include <string>

class Regex {
	public:
		int getPos();
		string getRegex();
		void setRegex(string regex);
		Regex(string regex);
		Regex();
		char peek();
		char pop();
		bool reachedEnd();
	private:
		int pos;
		bool isEnd;
		string regex;
};
